package one.stand.service;

import one.stand.model.ResultModel;
import one.stand.request.UserCouponRequest;
import one.stand.response.UserCouponResponse;

import java.util.List;

/**
 * @author: QIK
 * @CreateDate: 2019/6/24 17:23
 */
public interface UserCouponService {

    /**
     * 领取优惠券
     * @param request
     * @return
     */
    ResultModel<Boolean> receive(UserCouponRequest request);

    /**
     * 用户自己的优惠券列表
     * @param request
     * @return
     */
    ResultModel<List<UserCouponResponse>> myList(UserCouponRequest request);

    /**
     * 获取未领取的优惠券
     * @return
     */
    ResultModel<List<UserCouponResponse>> noReceive(UserCouponRequest request);

}
